#ifndef __VECTORLIST_H__
#define __VECTORLIST_H__

#include <stdio.h>
#include <stdlib.h>
#include <memory.h>


typedef struct nList
{
   void * item;
   struct nList *next;
   int sizeItem;
} nList;

typedef struct
{
	nList *first,*last;
} vectorList;


void vectorListCreate(vectorList * l);             
void vectorListAddItem(vectorList * l, void *item, int sizeItem);
void vectorListAddItemIn(vectorList * l, void * item, int sizeItem,int index);
 int vectorListGetItem(vectorList  l,int index, void * item);
 int vectorListRemoveItem(vectorList * l,int index);
void vectorListFree(vectorList * l);      
 int vectorListEmpty(vectorList *l);
 int vectorListGetSize(vectorList *l);
#endif